/*
 * Powered By xTOOLs
 * Dev by tao.li8@pactera.com
 * Copyright ©2009-2018 pactera.com All rights reserved.
 * Generated at 2020-7-20 14:01:17
 */

package com.pactera.jep.service.yapin.eval.model.model;

import com.pactera.jep.web.entity.Result;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.Length;
import javax.validation.constraints.Digits;

import javax.persistence.Temporal;
import javax.persistence.TemporalType;
import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Entity;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.util.*;
import java.math.BigDecimal;

import com.pactera.jep.commons.DateUtils;
import com.pactera.jep.entity.PO;

/**
 * 房屋估值模型类型与可比因素对照表实体类
 * @Author YourName
 * @Date 2020-7-20 14:01:17
 */
@ApiModel(value = "ValModelTpFactorRel" , description = "房屋估值模型类型与可比因素对照表")
@Entity
@Table(name = "ap_val_model_tp_factor_rel")
public class ValModelTpFactorRel implements PO {

    @ApiModelProperty("模型类型与可比因素对照关系Id")
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Length(max = 32, message = "模型类型与可比因素对照关系Id长度最多32位")
    @Column(name = "CAL_TP_FACTOR_REL_ID")
    private String calTpFactorRelId;

    @ApiModelProperty("")
    @Length(max = 20, message = "长度最多20位")
    @Column(name = "MODEL_TP_CD")
    private String modelTpCd;

    @ApiModelProperty("可比因素信息id")
    @Length(max = 32, message = "可比因素信息id长度最多32位")
    @Column(name = "FACTOR_ID")
    private String factorId;

    @ApiModelProperty("可比因素代码值")
    @Length(max = 20, message = "可比因素代码值长度最多20位")
    @Column(name = "FACTOR_CD")
    private String factorCd;

    @ApiModelProperty("系统创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @Column(name = "SYS_CREATE_TIME")
    private Date sysCreateTime;

    @ApiModelProperty("系统更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @Column(name = "SYS_UPDATE_TIME")
    private Date sysUpdateTime;

    public String getCalTpFactorRelId(){
        return calTpFactorRelId;
    }

    public void setCalTpFactorRelId(String calTpFactorRelId){
        this.calTpFactorRelId = calTpFactorRelId;
    }
    public String getModelTpCd(){
        return modelTpCd;
    }

    public void setModelTpCd(String modelTpCd){
        this.modelTpCd = modelTpCd;
    }
    public String getFactorId(){
        return factorId;
    }

    public void setFactorId(String factorId){
        this.factorId = factorId;
    }
    public String getFactorCd(){
        return factorCd;
    }

    public void setFactorCd(String factorCd){
        this.factorCd = factorCd;
    }
    public Date getSysCreateTime(){
        return sysCreateTime;
    }

    public void setSysCreateTime(Date sysCreateTime){
        this.sysCreateTime = sysCreateTime;
    }
    public Date getSysUpdateTime(){
        return sysUpdateTime;
    }

    public void setSysUpdateTime(Date sysUpdateTime){
        this.sysUpdateTime = sysUpdateTime;
    }
}

